<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="org.liufeng.course.service.RequestService"%>
<%@ page import="net.sf.json.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
request.setCharacterEncoding("UTF-8");
response.setCharacterEncoding("UTF-8");
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String stcd = request.getParameter("stcd");
if(stcd==null||stcd.equals("")){
	stcd="1105";
}
Map map = RequestService.getSFXX(stcd,null);
String display = "blank";
if(map.get("flag").equals("F")){
	display = "none";
	out.print("<p style=\"font-size:24;\">出问题咯。。。稍后再试吧</p>");
}
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta name="viewport"
	content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<html>
<head>
<base href="<%=basePath%>">
<title>水位详情</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<style>
ul,li {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.page-aside h1 {
	color: #404a58;
	font-size: 18px;
	padding: 10px 0px;
	text-indent: 15px;
	border: 1px solid #dfdfe0;
	border-top: none;
	border-bottom: none;
}

.page-aside h1.active {
	color: #fff;
}

.page-aside ul {
	border: 1px solid #dfdfe0;
	border-top: none;
	border-bottom: none;
}

.page-aside ul li a {
	display: block;
	color: #6c6d6d;
	padding: 10px 0px;
	text-indent: 15px;
	background: #fff;
	border-bottom: 1px solid #dfdfe0;
}

.page-aside ul li a:hover,.page-aside ul li.active a {
	color: #4482d5;
}

.p12 {
	font-size: 12px;
	color: red;
}
</style>

</head>
<body>
	<div class="page-aside" style="display:<%=display %>">
		<h1>
			遥测站名：<%=map.get("cityName") %>-<%=map.get("stnm") %></h1>
		<ul>
			<li><a>所属行政区划:&nbsp;<%=map.get("adcdName") %></a>
			</li>
			<li><a>站点位置:&nbsp;<%=map.get("stlc") %></a>
			</li>
			<li><a>实时水位:&nbsp;<%=map.get("sssw") %>&nbsp;</a>
			</li>
			<li><a>警戒水位:&nbsp;<%=map.get("jjsw") %>&nbsp;</a>
			</li>
			<li><a>危险水位:&nbsp;<%=map.get("wxsw") %>&nbsp;</a>
			</li>
			<li><a>所在流域/水系:&nbsp;<%=map.get("rvnm") %></a>
			</li>

		</ul>
		<p>
			<font class="p12">更新时间：<%=map.get("sTime") %></font>
		</p>
	</div>

</body>
</html>
